package csu.web.mypetstore.mapper;

import csu.web.mypetstore.pojo.Signon;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
* @author 18632
* @description 针对表【signon】的数据库操作Mapper
* @createDate 2025-03-10 17:28:57
* @Entity csu.web.mypetstore.pojo.Signon
*/
public interface SignonMapper extends BaseMapper<Signon> {
    @Update("UPDATE signon SET password = #{password} WHERE username = #{username}")
    void updatePassword(@Param("username") String username, @Param("password") String password);
}




